/**
 * Created By zhangQ 2018/8/31
 */

import axiosUtils from '@api/env/axiosEnv'

let customAxios = axiosUtils._initAxios()

// 智享箱情 获取物流监测数据
export function getStreamMonitorDataByPage (param) {
  return customAxios({
    url: '/main/XptContainer/getStreamMonitorDataByPage',
    method: 'post',
    data: param
  })
}

// 智享箱情 物流监测获取循环轨迹
export function getPositionTrack (param) {
  return customAxios({
    url: '/main/XptFlowPosition/getPositionTrack',
    method: 'post',
    data: param
  })
}

// 智享箱情 获取物流监测数据
export function getFlowData (param) {
  return customAxios({
    url: '/main/XptFlow/getFlowData',
    method: 'post',
    data: param
  })
}

// 智享箱情 箱属列表
export function getContainerOwnerList (param) {
  return customAxios({
    url: '/main/XptContainer/getContainerOwnerList',
    method: 'post',
    data: param
  })
}

// 获得小循环报表数据
export function getMinorCycleData (param) {
  return customAxios({
    url: '/main/XptReport/getMinorCycleData',
    method: 'post',
    data: param
  })
}

// 获得收货人列表
export function getReceiverList (param) {
  return customAxios({
    url: '/main/XptContainer/getReceiverList',
    method: 'post',
    data: param
  })
}

// 获得发货人列表
export function getSenderList (param) {
  return customAxios({
    url: '/main/XptContainer/getSenderList',
    method: 'post',
    data: param
  })
}
